print(2420220065)
print("大数据1班温嘉怡")
import turtle
import colorsys
def draw_triangle(side_length, color="black"):
    turtle.pencolor(color)
    for _ in range(3):
        turtle.forward(side_length)
        turtle.right(120)
def draw_triangle_array():
    turtle.speed(0)
    turtle.penup()
    turtle.goto(0, 0)
    turtle.pendown()
    # 颜色渐变相关，HSV色彩模式转换为RGB
    h = 0
    for i in range(18):
        side_length = 20 + i * 10  # 边长逐渐变大
        angle = i * 20  # 旋转角度
        r, g, b = colorsys.hsv_to_rgb(h, 1, 1)  # HSV转RGB
        color = (r, g, b)
        turtle.right(angle)
        draw_triangle(side_length, color)
        turtle.left(angle)  # 转回原来方向
        h += 0.05  # 改变色相实现颜色渐变
if __name__ == "__main__":
    draw_triangle_array()
    turtle.done()